package com.yellowframework.cloud.api.security;

import com.yellowframework.cloud.common.model.response.ResponseResult;
import com.yellowframework.cloud.domain.security.request.LoginRequest;
import com.yellowframework.cloud.domain.security.response.JwtResult;
import com.yellowframework.cloud.domain.security.response.LoginResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 用户认证接口
 * @Author zhou
 * @Date 2020/9/22 14:35
 */
@Api(tags = "鉴权中心")
public interface AuthControllerApi {

    /** 登录 */
    LoginResult login(LoginRequest loginRequest);

     /** 退出 */
    ResponseResult logout();

    /** 查询用户jwt令牌 */
    JwtResult userjwt();
}
